//package br.com.statizo.financeiro.swt.events;
//
//import org.eclipse.swt.events.SelectionEvent;
//import org.eclipse.swt.events.SelectionListener;
//import org.eclipse.swt.widgets.Composite;
//import org.snoghertframework.swt.core.ApplicationContextSession;
//import org.snoghertframework.swt.util.ModalUtil;
//import org.springframework.beans.factory.annotation.Autowired;
//
//public class OpenCompositeInDialogSelectionListener implements SelectionListener{
//
//	@Autowired
//	private ApplicationContextSession contextSession;
//
//	@Autowired
//	private ModalUtil modalUtil;
//
//	private Composite composite;
//
//	public OpenCompositeInDialogSelectionListener(Composite composite) {
//		this.composite = composite;
//	}
//
//	@Override
//	public void widgetSelected(SelectionEvent e) {
//		//modalUtil.openDialog((AbstractEditComposite<? extends SEntity>) composite);
//	}
//
//	@Override
//	public void widgetDefaultSelected(SelectionEvent e) {
//	}
//
//}
